<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Payment.aspx.cs" Inherits="PayPal" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>PayPal Transaction</title>
</head>
<body>
    <form id="form1" runat="server">
    <div style="text-align:center;">
       <input type="hidden" id="Name"  name="Name" value="<%=Name %>" />
        <input type="hidden" id="Street" name="Street" value="<%=Street %>" />
        <input type="hidden"  id="City" name="City" value="<%=City %>" />
        <input type="hidden" id="State" name="State" value="<%=State %>" />
        <input type="hidden" id="Zip" name="Zip" value="<%=Zip %>" />
        <input type="hidden" id="Email" name="Email" value="<%=Email %>" />
        <input type="hidden" id="Amount" name="Amount" value="<%=Amount %>" />
        <input type="hidden" id="CC_Number" name="CC_Number" value="<%=CC_Number %>" />
        <input type="hidden" id="Month" name="Month" id="Month" value="<%=Month %>" />
        <input type="hidden" id="Year" name="Year" value="<%=Year %>"/>
        <input type="hidden" id="Merch_ID" name="Merch_ID" value="<%=Merch_ID %>" />
        <input type="hidden" id="Success_URL" name="Success_URL" value="<%=Success_URL %>" />
        <input type="hidden" id="Failure_URL"  name="Failure_URL" value="<%=Failure_URL %>" />
        <input type="hidden" id="Tr_Type" name="Tr_Type" value="SALE"/>
        <input type="hidden" id="Recurring" name="Recurring" value="Yes"/>
        <input type="hidden" id="TimeFrame" name="TimeFrame" value="<%=TimeFrame %>" />
        <input type="hidden" id="Rec_Amount" name="Rec_Amount" value="<%=Rec_Amount %>" />
        <input type="hidden" id="TransKey" name="TransKey" value="<%=TransactionKey %>" />
        <input type="hidden" id="FMETHOD" name="FMETHOD" value="POST" />
       <%-- <input type="hidden" id="SEND_MAIL" name="SEND_MAIL" value="YES" />--%>
        <input type="hidden" id="Start_Date" name="Start_Date" value="<%=Start_Date %>" />   
        <img alt="Loading..." src="<%=Session["strHttp"]%>Images/loading.gif" 
            style="width: 130px; height: 60px" /></div>
    </form>
</body>
    <script>
        document.forms["form1"].submit();
    </script>
</html>
